<?php
/**
 * Created by PhpStorm.
 * User: wdxi
 * Date: 2017/3/7
 * Time: 10:56
 */
namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class OrderUserData extends Model
{
    protected $connection = 'mysql_thor';
    public function user()
    {
        return $this->belongsTo(User::class);
    }

    public function channel()
    {
        return $this->belongsTo(Channel::class)->withTrashed();
    }
}
